#include <stdio.h>

//https://www.nowcoder.com/practice/00dd93f7c7074754b7511bf56d1f15ac?tpId=290&tags=&title=&difficulty=0&judgeStatus=0&rp=0&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D290

int main() {
    int num = 0;
    while (scanf("%d", &num) != EOF) {
        while (num--) {
            for (int j = num + 1; j; j--) {
                printf("* ");
            }
            printf("\n");
        }
    }
    return 0;
}